package com.fy.controll;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by Administrator on 2020/10/28 0028.
 */
@Controller
public class LoginController {
    /*@RequestMapping("/")
    public @ResponseBody String login(){
        return "这是一个登录...";
    }*/

    @RequestMapping("/")
    public String login(){
        return "login";//登录页面
    }
}
